<%--
  Created by IntelliJ IDEA.
  User: janabo
  Date: 2015-1-15
  Time: 16:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <%@include file="../../common/include_list_head.jsp" %>
  <title>服务资源问题回复</title>

  <script type="text/javascript">
    detailPageStyle();

    validate_required_fields = [
      {fieldId:"pcontent", message:"回复内容不能为空！", mustMatch: true},
    ];
    function doSave(){
      if(isValidateForm()){
        super_doSave();
      }
    }
    function dosavenew(){
      doSave();
    }
    function dosaveclose(){
      doSave();
      parent.closeEntityWindow();
    }
  </script>


</head>

<body style="text-align:center;">

<div class="box1" >
  <s:form name="theform" method="post" theme="simple" >
    <s:hidden name="pid"/>
    <s:hidden name="discuss.wid" />
    <fieldset>
      　 <legend>问题反馈回复</legend>
      <table width="100%" border="0" align="center">
        <tr>
          <td align="right" valign = "top">问题标题：</td>
          <td align="left">
              ${problem.pproblem}
          </td>
        </tr>
        <tr>
          <td align="right"  valign = "top">问题描述：</td>
          <td align="left">
             <div style="width: 500px;max-height:150px;overflow-y: auto;">${problem.pcontent}</div>
          </td>
        </tr>
        <tr style="margin-top: 10px;">
          <td align="right" valign = "top">回复内容：</td>
          <td align="left">
            <s:textarea name="discuss.pcontent" id="pcontent" cssStyle="width: 500px;" maxlength="50"/>
            <label style="color:red">*</label>
          </td>
        </tr>
      </table>
    </fieldset>

  </s:form>
</div>
<div class="padding_top10">
  <table class="tableStyle" transMode="true">
    <tr>
      <td colspan="4">
        <input type="button" id="ysSaveButton" value=" 保 存 " onclick="doSave()"/>
        <input type="button" value=" 关 闭 " onclick="parent.closeEntityWindow()"/>
        <s:if test="actionErrors.size()>0 || actionMessages.size()>0 || fieldErrors.size()>0">
						<span id="SystemErrorMessage" style="top: 20px">
							<s:actionerror cssStyle="color:red"/>
							<s:actionmessage cssStyle="color:blue"/>
							<s:fielderror/>
						</span>
        </s:if>
      </td>
    </tr>
  </table>
</div>
</body>
</html>
